package com.zhejiangzhengyuan.municipal_common.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * GIS数据库中附属设施表
 *
 * @author linju
 * @since 2020-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SubsidiaryFacilitiesGis对象", description = "GIS数据库中附属设施表")
public class SubsidiaryFacilitiesGis extends Model<SubsidiaryFacilitiesGis> {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "id")
  private Long id;

  @ApiModelProperty(value = "name")
  private String name;

  @ApiModelProperty(value = "code")
  private String code;

  @ApiModelProperty(value = "point")
  private String point;

  @ApiModelProperty(value = "type")
  private String type;

  @Override
  protected Serializable pkVal() {
    return this.id;
  }
}
